//k1 编辑 2021.10.14

#include <globalDefines.hpp>
#include <RscMap.hpp>
#define MAPTXTSIZE	0.02

#define DEFAULTFONT	"PuristaMedium" //
#define GUILEFT	0 //
#define GUITEXT	0 //
#define IDCUNDEFINED -1 //

class GUIText {
	type = GUITEXT;
	idc = IDCUNDEFINED;
	style = GUILEFT;
	colorText[] = {0.75,0.75,0.75,1};
	colorBackground[] = {0,0,0,0};
	font = DEFAULTFONT;
	sizeEx = 0.025;
	w = 0.275;
	h = 0.04;
	text = "";
};

class GUILargeText: GUIText {
	w = 0.275;
	h = 0.1;
	font = DEFAULTFONT;
	sizeEx = 0.029;
};

class RscTitles {
   //titles[]={"scanner"}; 
   
    /////////////////////其他插件调用/////////////////////////////////////////

	
	////////////////////////////////////////////////////////////////////////
    class scanner {
  	    idd=-1;
  	    movingEnable=0;
  	    duration=900000;
  	    fadein=1;
  	    name="INTRO";
	    controlsBackground[] = {Map_Background,Maps};
  	    controls[]={HeadingDisplay};
  	    onLoad = "disableSerialization; Map_Scaner = [_this select 0]";

    class Map_Background: GuiText {
		idc = 15;		
		x= safeZoneW + safeZoneX - (MINIMAPWIDTH  + 0.134);//0.985-MINIMAPWIDTH;
		y= safeZoneH + safeZoneY - (MINIMAPHEIGHT + 0.142);//0.985-MINIMAPHEIGHT;
		h= MINIMAPWIDTH+0.14;
		w= MINIMAPHEIGHT+0.133;
		colorBackground[] = {0, 0, 0, 0.3}; //地图背景阴影
  	};
	
    class Maps: RscMap_A3 {
		idc = 16;
		x = safeZoneW + safeZoneX - (MINIMAPWIDTH  + 0.1322);//0.99-MINIMAPWIDTH;
		y = safeZoneH + safeZoneY - (MINIMAPHEIGHT + 0.139);//0.99-MINIMAPHEIGHT;
		h = MINIMAPHEIGHT+0.1324;
		w = MINIMAPWIDTH+0.127;
		colorBackground[] = {0.7, 0.7, 0.7, 0.5}; //地图颜色，透明度
		sizeExLabel = MAPTXTSIZE;
		sizeExGrid = MAPTXTSIZE;
		sizeExUnits = MAPTXTSIZE;
		sizeExNames = 0.05;//MAPTXTSIZE;
		sizeExInfo = MAPTXTSIZE;
		sizeExLevel = MAPTXTSIZE;
		showCountourInterval = "false";
		
		class Command {
		icon = "#(argb,8,8,3)color(1,1,1,1)";
		color[] = {0, 0, 0, 1};
		size = 18;
		importance = 1;
		coefMin = 1;
		coefMax = 1;
		};
  	};
	
		class HeadingDisplay: GUILargeText {
			idc = 17;
			x = safeZoneW + safeZoneX - 0.35;//HEADINGLABEL_X;//左右
			y = HEADINGLABEL_Y - safeZoneY - 0.326;//HEADINGLABEL_Y;//上下
			w = 0.35;//*0.2
			h = 0.06;
			colorText[] = {0, 0, 0, 1};
		};
	};
  
};
 

